package com.kaussoft.lolblog.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class PrintSystemTime {

	private static final long serialVersionUID = 1L;
	
	private String header;

	public void printTime() {
		SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
		System.out.println(header + simpleDateFormat.format(new Date()));
    }

	public void setHeader(String header) {
		this.header = header;
	}
}
